<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> 
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>海南航空-错误报告</title>
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <!-- icon图标 -->
    <link rel="icon" href="images/">
        <script type="text/javascript" src="${pageContext.request.contextPath }/static/common/script/jquery.dialog.js"></script>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath  }/static/common/style/dialog.css"  />
    
</head>
<body>
<script type="text/javascript">
	 $.dialog.alert({title:"错误",content:"${errMsg}",callback:"closeLogin();"});
	 function closeLogin(){
	   <c:if test="${empty login}">
			history.back();
		</c:if>
		<c:if test="${login}">
		   window.location.href='${pageContext.request.contextPath}/login.jsp';
					
		</c:if>
	 }
	 
</script>
</body>
</html>